#ifndef _WAVE_H
#define _WAVE_H

#include "motor.h"


typedef struct WAV {
    int16_t freq;
    float delta_t;
    int16_t min;
    int16_t max;
    int16_t val;
} WAV_Obj;

extern WAV_Obj wave;

int16_t Sine_Wave(WAV_Obj *v);
void bandwidth_test(void);
#endif
